﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Game2048WithCSharp
{
    public struct UIElements
    {
        public Label currentScoreLabel, bestScoreLabel;
        public Label VictoryLabel, DefeatLabel;
        public Timer UpdateTimer;
        public Action<Control> addControl, removeControl;
        public Action StartTask, EndTask;
        public UIElements(Label currentScoreLabel, Label bestScoreLabel
            , Label VictoryLabel, Label DefeatLabel
            , Timer UpdateTimer
            , Action<Control> addControl, Action<Control> removeControl
            , Action StartTask, Action EndTask)
        {
            this.currentScoreLabel = currentScoreLabel;
            this.bestScoreLabel = bestScoreLabel;
            this.VictoryLabel = VictoryLabel;
            this.DefeatLabel = DefeatLabel;
            this.UpdateTimer = UpdateTimer;
            this.addControl = addControl;
            this.removeControl = removeControl;
            this.StartTask = StartTask;
            this.EndTask = EndTask;
        }
    }
}